home *** CD-ROM | disk | FTP | other *** search
/ PC Play 128 / pc play 128.iso / Demo / xmr / xmr.exe / {app} / Shaders / ps / ps2_0_hdr_mergetextures_2.psh < prev    next >
Encoding:
Text File  |  2006-05-03  |  742 b   |  36 lines

  1. //
  2. // Generated by Microsoft (R) D3DX9 Shader Compiler 9.04.91.0000
  3. //
  4. //   fxc /T ps_2_0 /DCGC=0 /Fc
  5. //    ..\..\WorkDir\Shaders\ps\ps2_0_hdr_mergetextures_2.psh
  6. //    ps2_0_hdr_mergetextures_2.cg
  7. //
  8. //
  9. // Parameters:
  10. //
  11. //   sampler2D $Tex0;
  12. //   sampler2D $Tex1;
  13. //   float4 $TexCoordWeight[8];
  14. //
  15. //
  16. // Registers:
  17. //
  18. //   Name            Reg   Size
  19. //   --------------- ----- ----
  20. //   $TexCoordWeight c0       2
  21. //   $Tex0           s0       1
  22. //   $Tex1           s1       1
  23. //
  24.  
  25.     ps_2_0
  26.     dcl t0.xy
  27.     dcl_2d s0
  28.     dcl_2d s1
  29.     texld r1, t0, s1
  30.     texld r0, t0, s0
  31.     mul r1, r1, c1
  32.     mad r0, c0, r0, r1
  33.     mov oC0, r0
  34.  
  35. // approximately 5 instruction slots used (2 texture, 3 arithmetic)
  36.